package com.lbb.mall.product.dao;

import com.lbb.mall.product.entity.AttrAttrgroupRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 属性&属性分组关联
 * 
 * @author lbb
 * @email liubin13218570325@qq.com
 * @date 2021-08-12 10:18:11
 */
@Mapper
public interface AttrAttrgroupRelationDao extends BaseMapper<AttrAttrgroupRelationEntity> {

    void deleteBatchRelation(@Param("entities") List<AttrAttrgroupRelationEntity> entities);

    void deleteBatchRelationByAttrIds(@Param("collect") List<AttrAttrgroupRelationEntity> collect);

}
